package admin;

import static watij.finders.FinderFactory.href;
import fit.ColumnFixture;
import util.Login;
import watij.runtime.ie.IE;

public class DeleteTechnicianTest  extends ColumnFixture{

	public String nip;
	
	public boolean deleteTechnician(){

		IE ie = Login.adminlogin();
		
		try {
			
			ie.htmlElement(href("manipulateTechnicians.htm")).click();
			ie.htmlElement(href("deleteTechnician.htm?deleteTechnicianNip="+nip)).click();
			ie.close();

		} catch (Exception e) {
			e.printStackTrace();
			return false;
		}
		return true;
	}
}

